const getters = {
    // user module
    token: (state: any) => state.user.token, // 获取用户token
    userInfo: (state: any) => state.user.userInfo, // 获取用户信息
    userUnreadInform: (state: any) => state.user.unreadInform, // 获取用户信息
    // team module
    teamList: (state: any) => state.team.teamList, // 团队列表
    mainTeamId: (state: any) => state.team.selectTeamId, // 顶部选中的团队ID
    mainTeam: (state: any) => state.team.mainTeamInfo, // 主团队信息
    // syetem module
    serveList: (state: any) => state.system.isShowServeList, // 左边服务列表是否显示
    menuList: (state: any) => state.system.menuList, // 菜单树的数据
    selectMenu: (state: any) => state.system.selectMenu, // 已选择的菜单树数据
    selectMenuTitle: (state: any) => state.system.selectMenuTitle, // 已选择的菜单名字
    navListType: (state: any) => state.system.pageNavListType, // 首页顶部切换参数
};

export default getters;
